import request from '@/utils/request'

// 查询科室1列表
export function listKeshi1(query) {
  return request({
    url: '/keshi1/keshi1/list/ruoyi',
    method: 'get',
    params: query
  })
}

// 查询科室1详细
export function getKeshi1(id) {
  return request({
    url: '/keshi1/keshi1/' + id,
    method: 'get'
  })
}

// 新增科室1
export function addKeshi1(data) {
  return request({
    url: '/keshi1/keshi1',
    method: 'post',
    data: data
  })
}

// 修改科室1
export function updateKeshi1(data) {
  return request({
    url: '/keshi1/keshi1',
    method: 'put',
    data: data
  })
}

// 删除科室1
export function delKeshi1(id) {
  return request({
    url: '/keshi1/keshi1/' + id,
    method: 'delete'
  })
}
